package com.guardchina.framework.web.plugins.exception;

import org.springframework.context.annotation.Bean;

/**
 * 描述：异常处理器配置类
 *
 * @author lwb
 * @date 2019/3/15 17:10
 */
public class ExceptionHandlerConfiguration {

    @Bean
    public DefaultWebExceptionHandler defaultWebExceptionHandler(){
        return new DefaultWebExceptionHandler();
    }
}
